package lab02.test05;

import java.util.Scanner;

public class Test05 {
    public static void main(String[] args) {
        Cube cuboid = new Cube();
        Scanner SC = new Scanner(System.in);
        System.out.println("请输入立方体的长度：");
        float len = SC.nextFloat();
        cuboid.setLength(len);
        System.out.println("请输入立方体的宽度：");
        float wid = SC.nextFloat();
        cuboid.setWidth(wid);
        System.out.println("请输入立方体的高度：");
        float hei = SC.nextFloat();
        cuboid.setHeight(hei);
        cuboid.countCubage();
    }
}
